package com.houpu.service;

import com.houpu.dao.DepartmentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author miao
 * @date 2019/11/5  16:20
 */
@Service
public class DepartmentService {
    @Autowired(required = false)
    private DepartmentMapper departmentMapper;

    public List<Map<String, Object>> queryAll() {
        return departmentMapper.selectAll();
    }
}
